<template>
  <div class="title">
    <el-card class="box-card card-top">
      <div class="clearfix">
        <span v-if="minTitle !== ''" class="mintitle">{{ minTitle }}</span>
        <span v-if="minTitle !== ''" class="xiegang">/</span>
        <span class="title-txt">{{ title }}</span>
        <span class="hengxian"> - </span>
        <span class="introduce">{{ introduce }}</span>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  name: "titlename",
  props: {
    minTitle: {
      type: String,
      default: () => {
        return "";
      },
    },
    title: {
      type: String,
      default: () => {
        return "";
      },
    },
    introduce: {
      type: String,
      default: () => {
        return "";
      },
    },
  },
};
</script>

<style lang="scss" scoped>
.title {
  width: 100%;
  height: 50px;
  background-color: #fff;
  border-radius: 5px;
  margin-bottom: 10px;
  line-height: 50px;
}

.clearfix {
  padding-left: 10px;
}

.title /deep/ .el-card__body {
  padding: 0 !important;
}

.clearfix .mintitle,
.xiegang {
  font-size: 14px;
  color: gray;
  margin-right: 5px;
}

.clearfix .title-txt {
  font-size: 16px;
  font-weight: bold;
}

.clearfix .introduce {
  font-size: 14px;
}
</style>
